package chat;

import java.io.*;
import java.net.*;
import java.util.Scanner;

public class MulClient {

	public static void main(String[] args) throws IOException {
		Socket socket = new Socket("localhost", 3141);

		System.out.println("Eingabe: ");
		Scanner sc = new Scanner(System.in);
		socket.getOutputStream().write (sc.nextLine().getBytes());

		socket.close();
	}

}
